package com.vipsoft.base.core;

import java.util.List;

public class PageParam<T> {
    /**
     * 总数量
     */
    private int totalCount = 1;
    /**
     * 每页数量
     */
    private int pageCount = 10;
    /**
     * 当前页码
     */
    private int pageIndex = 1;

    /**
     * 每页数量
     */
    private int pageSize = 10;
    /**
     * 数据列表
     */
    private List<T> list;

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
